<%@ Page language="c#" AutoEventWireup="false" EnableViewState="false" Inherits="Discuz.Web.infolist" %>
<%@ Import namespace="System.Data" %>
<%@ Import namespace="Discuz.Common" %>
<%@ Import namespace="Discuz.Forum" %>
<%@ Import namespace="Discuz.Entity" %>
<%@ Import namespace="Discuz.Config" %>

<script runat="server">
override protected void OnInit(EventArgs e)
{

	/* 
		This page was created by Discuz!NT Template Engine at 2014/3/4 15:03:41.
		本页面代码由Discuz!NT模板引擎生成于 2014/3/4 15:03:41. 
	*/

	base.OnInit(e);

	templateBuilder.Capacity = 220000;



	if (infloat!=1)
	{

	templateBuilder.Append("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n    ");
	if (pagetitle=="首页")
	{

	templateBuilder.Append("\r\n        <title>");
	templateBuilder.Append(config.Forumtitle.ToString().Trim());
	templateBuilder.Append(" ");
	templateBuilder.Append(config.Seotitle.ToString().Trim());
	templateBuilder.Append(" - Powered by Discuz!NT</title>\r\n    ");
	}
	else
	{

	templateBuilder.Append("\r\n        <title>");
	templateBuilder.Append(pagetitle.ToString());
	templateBuilder.Append(" - ");
	templateBuilder.Append(config.Forumtitle.ToString().Trim());
	templateBuilder.Append(" ");
	templateBuilder.Append(config.Seotitle.ToString().Trim());
	templateBuilder.Append(" - Powered by Discuz!NT</title>\r\n    ");
	}	//end if

	templateBuilder.Append("\r\n    ");
	templateBuilder.Append(meta.ToString());
	templateBuilder.Append("\r\n    <meta name=\"generator\" content=\"Discuz!NT 3.6.711\" />\r\n    <meta name=\"author\" content=\"Discuz!NT Team and Comsenz UI Team\" />\r\n    <meta name=\"copyright\" content=\"2001-2011 Comsenz Inc.\" />\r\n    <meta http-equiv=\"x-ua-compatible\" content=\"ie=7\" />\r\n    <link rel=\"icon\" href=\"");
	templateBuilder.Append(forumurl.ToString());
	templateBuilder.Append("favicon.ico\" type=\"image/x-icon\" />\r\n    <link rel=\"shortcut icon\" href=\"");
	templateBuilder.Append(forumurl.ToString());
	templateBuilder.Append("favicon.ico\" type=\"image/x-icon\" />\r\n    ");
	if (pagename!="website.aspx")
	{

	templateBuilder.Append("\r\n        <link rel=\"stylesheet\" href=\"");
	templateBuilder.Append(cssdir.ToString());
	templateBuilder.Append("/dnt.css\" type=\"text/css\" media=\"all\" />\r\n    ");
	}	//end if

	templateBuilder.Append("\r\n    <link rel=\"stylesheet\" href=\"");
	templateBuilder.Append(cssdir.ToString());
	templateBuilder.Append("/float.css\" type=\"text/css\" />\r\n    ");
	if (isnarrowpage)
	{

	templateBuilder.Append("\r\n        <link type=\"text/css\" rel=\"stylesheet\" href=\"");
	templateBuilder.Append(cssdir.ToString());
	templateBuilder.Append("/widthauto.css\" id=\"css_widthauto\" />\r\n    ");
	}	//end if

	templateBuilder.Append("\r\n    ");
	templateBuilder.Append(link.ToString());
	templateBuilder.Append("\r\n    <script type=\"text/javascript\">\r\n        var creditnotice='");
	templateBuilder.Append(Scoresets.GetValidScoreNameAndId().ToString().Trim());
	templateBuilder.Append("';	\r\n        var forumpath = \"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append("\";\r\n    </");
	templateBuilder.Append("script>\r\n    <script type=\"text/javascript\" src=\"");
	templateBuilder.Append(config.Jqueryurl.ToString().Trim());
	templateBuilder.Append("\"></");
	templateBuilder.Append("script>\r\n    <script type=\"text/javascript\">jQuery.noConflict();</");
	templateBuilder.Append("script>\r\n    <script type=\"text/javascript\" src=\"");
	templateBuilder.Append(jsdir.ToString());
	templateBuilder.Append("/common.js\"></");
	templateBuilder.Append("script>\r\n    <script type=\"text/javascript\" src=\"");
	templateBuilder.Append(jsdir.ToString());
	templateBuilder.Append("/template_report.js\"></");
	templateBuilder.Append("script>\r\n    <script type=\"text/javascript\" src=\"");
	templateBuilder.Append(jsdir.ToString());
	templateBuilder.Append("/template_utils.js\"></");
	templateBuilder.Append("script>\r\n    <script type=\"text/javascript\" src=\"");
	templateBuilder.Append(jsdir.ToString());
	templateBuilder.Append("/ajax.js\"></");
	templateBuilder.Append("script>\r\n    <script type=\"text/javascript\">\r\n	    var aspxrewrite = ");
	templateBuilder.Append(config.Aspxrewrite.ToString().Trim());
	templateBuilder.Append(";\r\n	    var IMGDIR = '");
	templateBuilder.Append(imagedir.ToString());
	templateBuilder.Append("';\r\n        var disallowfloat = '");
	templateBuilder.Append(config.Disallowfloatwin.ToString().Trim());
	templateBuilder.Append("';\r\n	    var rooturl=\"");
	templateBuilder.Append(rooturl.ToString());
	templateBuilder.Append("\";\r\n	    var imagemaxwidth='");
	templateBuilder.Append(Templates.GetTemplateWidth(templatepath).ToString().Trim());
	templateBuilder.Append("';\r\n	    var cssdir='");
	templateBuilder.Append(cssdir.ToString());
	templateBuilder.Append("';\r\n    </");
	templateBuilder.Append("script>\r\n    <link href=\"../Content/Style/infolist.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../Content/style/style_2_common.css\"/>\r\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"../Content/style/style_2_portal_index.css\"/>   \r\n    <script src=\"../Content/Scripts/jquery_002.js\" type=\"text/javascript\"></");
	templateBuilder.Append("script>\r\n    <script src=\"../Content/Scripts/jquery.js\" type=\"text/javascript\"></");
	templateBuilder.Append("script>\r\n\r\n    <script src=\"../Content/Scripts/portal.js\" type=\"text/javascript\"></");
	templateBuilder.Append("script>   \r\n    ");
	templateBuilder.Append(script.ToString());
	templateBuilder.Append("\r\n</head>");

	templateBuilder.Append("\r\n<body onkeydown=\"if(event.keyCode==27) return false;\" class=\"pg_index\" id=\"nv_portal\"><div id=\"append_parent\"></div>\r\n    <div id=\"ajaxwaitid\">\r\n    </div>\r\n    <!-- 网站头部 begin -->\r\n    <div class=\"header cl\">\r\n        <div class=\"cl\" id=\"toptb\">\r\n            <div class=\"wp\">\r\n                <div class=\"z\">\r\n                    <a onclick=\"setHomepage('http://www.jeavi.name/dome/pavo/');\" href=\"javascript:;\">设为首页</a><a\r\n                        onclick=\"addFavorite(this.href, 'pavo 企业 - Jeavidesign QQ：77877579');return false;\"\r\n                        href=\"http://www.jeavi.name/dome/pavo/\">收藏本站</a></div>\r\n                <div class=\"y\">\r\n                ");
	if (userid==-1)
	{


	}
	else
	{

	templateBuilder.Append("\r\n				<p>\r\n					<strong><a href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append("userinfo.aspx?userid=");
	templateBuilder.Append(userid.ToString());
	templateBuilder.Append("\" class=\"vwmy\">");
	templateBuilder.Append(username.ToString());
	templateBuilder.Append("</a></strong><span class=\"xg1\">在线</span><span class=\"pipe\">|</span>\r\n                    ");	string linktitle = "";
	
	string showoverflow = "";
	

	if (oluserinfo.Newpms>0)
	{


	if (oluserinfo.Newpms>=1000)
	{

	 showoverflow = "大于";
	

	}	//end if

	 linktitle = "您有"+showoverflow+oluserinfo.Newpms+"条新短消息";
	

	}
	else
	{

	 linktitle = "您没有新短消息";
	

	}	//end if

	templateBuilder.Append("\r\n					<a id=\"pm_ntc\" href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append("usercpinbox.aspx\" title=\"");
	templateBuilder.Append(linktitle.ToString());
	templateBuilder.Append("\">短消息\r\n                    ");
	if (oluserinfo.Newpms>0 && oluserinfo.Newpms<=1000)
	{

	templateBuilder.Append("\r\n                                (");
	templateBuilder.Append(oluserinfo.Newpms.ToString().Trim());
	if (oluserinfo.Newpms>=1000)
	{

	templateBuilder.Append("1000+");
	}	//end if

	templateBuilder.Append(")\r\n                    ");
	}	//end if

	templateBuilder.Append("</a>\r\n                    <span class=\"pipe\">|</span>\r\n                    ");	 showoverflow = "";
	

	if (oluserinfo.Newnotices>0)
	{


	if (oluserinfo.Newnotices>=1000)
	{

	 showoverflow = "大于";
	

	}	//end if

	 linktitle = "您有"+showoverflow+oluserinfo.Newnotices+"条新通知";
	

	}
	else
	{

	 linktitle = "您没有新通知";
	

	}	//end if

	templateBuilder.Append("\r\n					<a href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append("usercpnotice.aspx?filter=all\" title=\"");
	templateBuilder.Append(linktitle.ToString());
	templateBuilder.Append("\">\r\n                        通知");
	if (oluserinfo.Newnotices>0)
	{

	templateBuilder.Append("\r\n                                (");
	templateBuilder.Append(oluserinfo.Newnotices.ToString().Trim());
	if (oluserinfo.Newnotices>=1000)
	{

	templateBuilder.Append("+");
	}	//end if

	templateBuilder.Append(")\r\n                            ");
	}	//end if

	templateBuilder.Append("\r\n                    </a>\r\n                    <span class=\"pipe\">|</span>\r\n					<a id=\"usercenter\" class=\"drop\" onmouseover=\"showMenu(this.id);\" href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append("usercp.aspx\">用户中心</a>\r\n				");
	if (config.Regstatus==2||config.Regstatus==3)
	{


	if (userid>0)
	{

	templateBuilder.Append("\r\n					<span class=\"pipe\">|</span><a href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append("invite.aspx\">邀请</a>\r\n					");
	}	//end if


	}	//end if


	if (useradminid==1)
	{

	templateBuilder.Append("\r\n					<span class=\"pipe\">|</span><a href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append("admin/index.aspx\" target=\"_blank\">系统设置</a>\r\n					");
	}	//end if

	templateBuilder.Append("\r\n					<span class=\"pipe\">|</span><a href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append("logout.aspx?userkey=");
	templateBuilder.Append(userkey.ToString());
	templateBuilder.Append("\">退出</a>\r\n                    ");
	templateBuilder.Append(userinfotips.ToString());
	templateBuilder.Append("\r\n\r\n				</p>\r\n                ");
	}	//end if

	templateBuilder.Append("\r\n                </div>\r\n            </div>\r\n        </div>\r\n        <div class=\"header_top wp cl\">\r\n            <!-- logo -->\r\n            <div class=\"logo\">\r\n                <h2>\r\n                    <a title=\"pavo 企业 - Jeavidesign QQ：77877579\" href=\"http://www.jeavi.name/dome/pavo/\">\r\n                        <img alt=\"pavo 企业 - Jeavidesign QQ：77877579\" src=\"./Content/images/logo.png\" border=\"0\"></a></h2>\r\n            </div>\r\n            <div class=\"cl\" id=\"scbar\">\r\n                <form id=\"scbar_form\" onsubmit=\"searchFocus($('scbar_txt'))\" action=\"search.php?searchsubmit=yes\"\r\n                method=\"post\" target=\"_blank\" autocomplete=\"off\">\r\n                <input name=\"mod\" id=\"scbar_mod\" type=\"hidden\" value=\"search\">\r\n                <input name=\"formhash\" type=\"hidden\" value=\"99302940\">\r\n                <input name=\"srchtype\" type=\"hidden\" value=\"title\">\r\n                <input name=\"srhfid\" type=\"hidden\" value=\"0\">\r\n                <input name=\"srhlocality\" type=\"hidden\" value=\"portal::index\">\r\n                <table cellspacing=\"0\" cellpadding=\"0\">\r\n                    <tbody>\r\n                        <tr>\r\n                            <td class=\"scbar_txt_td\">\r\n                                <input name=\"srchtxt\" id=\"scbar_txt\" type=\"text\" value=\"请输入搜索内容\" autocomplete=\"off\"\r\n                                    speech=\"\" x-webkit-speech=\"\">\r\n                            </td>\r\n                            <td class=\"scbar_type_td\">\r\n                                <a class=\"xg1\" id=\"scbar_type\" hidefocus=\"true\" onclick=\"showMenu(this.id)\" href=\"javascript:;\">\r\n                                    搜索</a>\r\n                            </td>\r\n                            <td class=\"scbar_btn_td\">\r\n                                <button name=\"searchsubmit\" class=\"pn pnc\" id=\"scbar_btn\" type=\"submit\" value=\"true\"\r\n                                    sc=\"1\">\r\n                                </button>\r\n                            </td>\r\n                        </tr>\r\n                    </tbody>\r\n                </table>\r\n                </form>\r\n            </div>\r\n            <ul class=\"p_pop\" id=\"scbar_type_menu\" style=\"display: none;\">\r\n                <li><a href=\"javascript:;\" rel=\"article\">文章</a></li>\r\n                <li><a class=\"curtype\" href=\"javascript:;\" rel=\"forum\">帖子</a></li>\r\n                <li><a href=\"javascript:;\" rel=\"user\">用户</a></li></ul>\r\n            <script type=\"text/javascript\">initSearchmenu('scbar', '');</");
	templateBuilder.Append("script>\r\n            <script type=\"text/javascript\">\r\n                jQuery(function () {\r\n                    jQuery(\"#scbar #scbar_txt\").focus(function () {\r\n                        jQuery(\"#scbar\").addClass(\"bgchange\");\r\n                    }).blur(function () {\r\n                        jQuery(\"#scbar\").removeClass(\"bgchange\");\r\n                    });\r\n                })</");
	templateBuilder.Append("script>\r\n        </div>\r\n        <div class=\"navbox cl\">\r\n            <div class=\"wp cl\">\r\n                <!-- nav -->\r\n                <div class=\"nav\">\r\n                    <ul>\r\n                        <li class=\"a\" id=\"mn_portal\"><a title=\"Home\" hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/portal.php\">网站首页<span>Home</span></a></li>\r\n                        <li id=\"mn_P1\" onmouseover=\"showMenu({'ctrlid':this.id,'ctrlclass':'hover','duration':2\r\n                        })\">\r\n                        <a title=\"About\" hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/about/\">公司介绍<span>About</span></a>\r\n                        </li>\r\n                        <li id=\"mn_P5\" onmouseover=\"showMenu({\r\n                        'ctrlid':this.id,'ctrlclass':'hover','duration':2\r\n                        })\"><a title=\"News\" hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/news/\">公司新闻<span>News</span></a></li>\r\n                        <li id=\"mn_P9\"><a title=\"Contact\" hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/Contact/\">联系我们<span>Contact</span></a></li>\r\n                        <li id=\"mn_P10\" onmouseover=\"showMenu({'ctrlid':this.id,'ctrlclass':'hover','duration':2\r\n                        })\"><a title=\"Product\" hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/product/\">产品展示<span>Product</span></a></li>\r\n                        <li id=\"mn_forum\" onmouseover=\"showMenu({'ctrlid':this.id,'ctrlclass':'hover','duration':2\r\n                        })\"><a title=\"BBS\" hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/forum.php\">会员社区<span>BBS</span></a></li></ul>\r\n                </div>\r\n                \r\n                <!-- 用户信息 -->\r\n                <div class=\"userbox\">\r\n                    <ul class=\"usernav user_part\">\r\n                        <li class=\"user_list\"><a class=\"user_link\" onclick=\"javascript:lsSubmit();\" href=\"javascript:;\">\r\n                            登录</a></li>\r\n                        <li class=\"user_list\"><a class=\"user_link\" href=\"http://www.jeavi.name/dome/pavo/member.php?mod=register\">\r\n                            立即注册</a></li></ul>\r\n                    <div style=\"display: none;\">\r\n                        <form id=\"Form1\" onsubmit=\"return lsSubmit();\" action=\"member.php?mod=logging&amp;action=login&amp;loginsubmit=yes&amp;infloat=yes&amp;lssubmit=yes\"\r\n                        method=\"post\" autocomplete=\"off\">\r\n                        <div class=\"fastlg cl\">\r\n                            <span id=\"return_ls\" style=\"display: none;\"></span>\r\n                            <div class=\"y pns\">\r\n                                <table cellspacing=\"0\" cellpadding=\"0\">\r\n                                    <tbody>\r\n                                        <tr>\r\n                                            <td>\r\n                                                <span class=\"ftid\">\r\n                                                    <select name=\"fastloginfield\" tabindex=\"900\" id=\"ls_fastloginfield\" width=\"40\">\r\n                                                        <option value=\"username\">用户名</option>\r\n                                                        <option value=\"email\">Email</option>\r\n                                                    </select>\r\n                                                </span>\r\n                                                <script type=\"text/javascript\">                                                    simulateSelect('ls_fastloginfield')</");
	templateBuilder.Append("script>\r\n                                            </td>\r\n                                            <td>\r\n                                                <input name=\"username\" tabindex=\"901\" class=\"px vm\" id=\"Text1\" type=\"text\"\r\n                                                    autocomplete=\"off\">\r\n                                            </td>\r\n                                            <td class=\"fastlg_l\">\r\n                                                <label for=\"ls_cookietime\">\r\n                                                    <input name=\"cookietime\" tabindex=\"903\" class=\"pc\" id=\"Checkbox1\" type=\"checkbox\"\r\n                                                        value=\"2592000\">自动登录</label>\r\n                                            </td>\r\n                                            <td>\r\n                                                &nbsp;<a onclick=\"showWindow('login', 'member.php?mod=logging&amp;action=login&amp;viewlostpw=1')\"\r\n                                                    href=\"javascript:;\">找回密码</a>\r\n                                            </td>\r\n                                        </tr>\r\n                                        <tr>\r\n                                            <td>\r\n                                                <label class=\"z psw_w\" for=\"ls_password\">\r\n                                                    密码</label>\r\n                                            </td>\r\n                                            <td>\r\n                                                <input name=\"password\" tabindex=\"902\" class=\"px vm\" id=\"Password1\" type=\"password\"\r\n                                                    autocomplete=\"off\">\r\n                                            </td>\r\n                                            <td class=\"fastlg_l\">\r\n                                                <button tabindex=\"904\" class=\"pn vm\" style=\"width: 75px;\" type=\"submit\">\r\n                                                    <em>登录</em></button>\r\n                                            </td>\r\n                                            <td>\r\n                                                &nbsp;<a class=\"xi2 xw1\" href=\"http://www.jeavi.name/dome/pavo/member.php?mod=register\">立即注册</a>\r\n                                            </td>\r\n                                        </tr>\r\n                                    </tbody>\r\n                                </table>\r\n                                <input name=\"quickforward\" type=\"hidden\" value=\"yes\">\r\n                                <input name=\"handlekey\" type=\"hidden\" value=\"ls\">\r\n                            </div>\r\n                        </div>\r\n                        </form>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <div class=\"submenu\">\r\n        <ul class=\"p_pop h_pop\" id=\"mn_P1_menu\" style=\"display: none;\">\r\n            <li><a hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=2\">\r\n                公司介绍</a></li>\r\n            <li><a hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=3\">\r\n                企业文化</a></li>\r\n            <li><a hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=4\">\r\n                管理团队</a></li></ul>\r\n        <ul class=\"p_pop h_pop\" id=\"mn_P5_menu\" style=\"display: none;\">\r\n            <li><a hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=6\">\r\n                新闻动态（标题）</a></li>\r\n            <li><a hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=7\">\r\n                发展历程（图文）</a></li>\r\n            <li><a hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=8\">\r\n                职位招聘（简介）</a></li></ul>\r\n        <ul class=\"p_pop h_pop\" id=\"mn_P10_menu\" style=\"display: none;\">\r\n            <li><a hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=11\">\r\n                数码相机</a></li>\r\n            <li><a hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=12\">\r\n                平板电脑</a></li>\r\n            <li><a hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=13\">\r\n                笔记本</a></li>\r\n            <li><a hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=14\">\r\n                显示器</a></li>\r\n            <li><a hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=15\">\r\n                数码音响</a></li></ul>\r\n        <div class=\"p_pop h_pop\" id=\"mn_userapp_menu\" style=\"display: none;\">\r\n        </div>\r\n        <ul class=\"p_pop h_pop\" id=\"mn_forum_menu\" style=\"display: none;\">\r\n            <li><a hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/forum.php?mod=forumdisplay&amp;fid=2\">\r\n                社区活动</a></li>\r\n            <li><a hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/forum.php?mod=forumdisplay&amp;fid=37\">\r\n                员工天地</a></li>\r\n            <li><a hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/forum.php?mod=forumdisplay&amp;fid=38\">\r\n                旅游生活</a></li>\r\n            <li><a hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/forum.php?mod=forumdisplay&amp;fid=39\">\r\n                讨论专区</a></li>\r\n            <li><a hidefocus=\"true\" href=\"http://www.jeavi.name/dome/pavo/forum.php?mod=forumdisplay&amp;fid=40\">\r\n                投诉建议</a></li></ul>\r\n    </div>\r\n    <ul class=\"sub_menu\" id=\"m_menu\" style=\"display: none;\">\r\n        <li></li>\r\n        <li></li>\r\n        <li></li>\r\n        <li><a style='background-image: url(\"http://www.jeavi.name/dome/pavo/static/image/feed/magic_b.png\") !important;'\r\n            href=\"http://www.jeavi.name/dome/pavo/home.php?mod=magic\">道具</a></li>\r\n        <li><a style='background-image: url(\"http://www.jeavi.name/dome/pavo/static/image/feed/medal_b.png\") !important;'\r\n            href=\"http://www.jeavi.name/dome/pavo/home.php?mod=medal\">勋章</a></li>\r\n        <li><a style='background-image: url(\"http://www.jeavi.name/dome/pavo/static/image/feed/task_b.png\") !important;'\r\n            href=\"http://www.jeavi.name/dome/pavo/home.php?mod=task\">任务</a></li>\r\n        <li><a href=\"http://www.jeavi.name/dome/pavo/home.php?mod=spacecp\">设置</a></li>\r\n        <li><a href=\"http://www.jeavi.name/dome/pavo/member.php?mod=logging&amp;action=logout&amp;formhash=99302940\">\r\n            退出</a></li></ul>\r\n    <!-- 网站头部 end -->\r\n    <div class=\"p_pop blk\" id=\"qmenu_menu\" style=\"display: none;\">\r\n        <div class=\"ptm pbw hm\">\r\n            请 <a class=\"xi2\" onclick=\"lsSubmit()\" href=\"javascript:;\"><strong>登录</strong></a>\r\n            后使用快捷导航<br>\r\n            没有帐号？<a class=\"xi2 xw1\" href=\"http://www.jeavi.name/dome/pavo/member.php?mod=register\">立即注册</a>\r\n        </div>\r\n        <div class=\"btda\" id=\"fjump_menu\">\r\n        </div>\r\n    </div>\r\n\r\n\r\n<div id=\"append_parent\"></div><div id=\"ajaxwaitid\"></div>\r\n");
	if (headerad!="")
	{

	templateBuilder.Append("\r\n	<div id=\"ad_headerbanner\">");
	templateBuilder.Append(headerad.ToString());
	templateBuilder.Append("</div>\r\n");
	}	//end if


	}
	else
	{


	Response.Clear();
	Response.ContentType = "Text/XML";
	Response.Expires = 0;
	Response.Cache.SetNoStore();
	
	templateBuilder.Append("<?xml version=\"1.0\" encoding=\"utf-8\"?><root><![CDATA[\r\n");
	}	//end if



	templateBuilder.Append("<div class=\"wp index_wrap\" id=\"wp\">\r\n    <div class=\"top_ban\">\r\n        <div class=\"d\">\r\n            <div class=\"area\" id=\"top_ban\">\r\n                <div class=\"frame move-span cl frame-1\" id=\"frametGHubh\">\r\n                    <div class=\"column frame-1-c\" id=\"frametGHubh_left\">\r\n                        <div class=\"move-span temp\" id=\"frametGHubh_left_temp\">\r\n                        </div>\r\n                        <div class=\"block move-span\" id=\"portal_block_38\">\r\n                            <div class=\"dxb_bc\" id=\"portal_block_38_content\">\r\n                                <div class=\"portal_block_summary\">\r\n                                    <h2>\r\n                                        致力于提升客户品牌形象、实现客户商业目标!</h2>\r\n                                    <p>\r\n                                        Commitment to enhance customer brand image,customer business goals!</p>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <div class=\"container cl\">\r\n        <style type=\"text/css\" id=\"diy_style\">\r\n            #portal_block_38\r\n            {\r\n                background-image: url('http://www.jeavi.name/dome/pavo/template/jeavi_pavo/style/news_ban_5.jpg') !important;\r\n                background-repeat: repeat !important;\r\n            }\r\n        </style>\r\n        <div class=\"wp\">\r\n            <div class=\"area\" id=\"diy1\">\r\n            </div>\r\n        </div>\r\n        <div id=\"sidebar\" class=\"sidebar\">\r\n            <div class=\"mbox sidnav\">\r\n                <h2>\r\n                    网站导航</h2>\r\n                <ul>\r\n                    <li><a href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=6\">新闻动态（标题）</a></li>\r\n                    <li><a href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=7\">发展历程（图文）</a></li>\r\n                    <li><a href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=8\">职位招聘（简介）</a></li>\r\n                </ul>\r\n            </div>\r\n            <div class=\"lift_ad mbox\">\r\n                <!--[diy=lift_ad]-->\r\n                <div class=\"area\" id=\"lift_ad\">\r\n                    <div class=\"frame move-span cl frame-1\" id=\"framehR5o8O\">\r\n                        <div class=\"column frame-1-c\" id=\"framehR5o8O_left\">\r\n                            <div class=\"move-span temp\" id=\"framehR5o8O_left_temp\">\r\n                            </div>\r\n                            <div class=\"block move-span\" id=\"portal_block_44\">\r\n                                <div class=\"dxb_bc\" id=\"portal_block_44_content\">\r\n                                    <div class=\"portal_block_summary\">\r\n                                        <a target=\"_blank\" href=\"#\">\r\n                                            <img width=\"200\" src=\"./content/images/lift_ad.jpg\"></a></div>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <!--[/diy]-->\r\n            </div>\r\n            <div class=\"left_ser mbox\">\r\n                <!--[diy=lift_ad1]-->\r\n                <div class=\"area\" id=\"lift_ad1\">\r\n                    <div class=\"frame move-span cl frame-1\" id=\"frameN2d764\">\r\n                        <div class=\"column frame-1-c\" id=\"frameN2d764_left\">\r\n                            <div class=\"move-span temp\" id=\"frameN2d764_left_temp\">\r\n                            </div>\r\n                            <div class=\"block move-span\" id=\"portal_block_56\">\r\n                                <div class=\"dxb_bc\" id=\"portal_block_56_content\">\r\n                                    <div class=\"portal_block_summary\">\r\n                                        <p>\r\n                                            400-123-456</p>\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                        </div>\r\n                    </div>\r\n                </div>\r\n                <!--[/diy]-->\r\n            </div>\r\n            <div class=\"drag\">\r\n                <!--[diy=diyrighttop]-->\r\n                <div class=\"area\" id=\"diyrighttop\">\r\n                </div>\r\n                <!--[/diy]-->\r\n            </div>\r\n        </div>\r\n        <div class=\"contents\">\r\n            <div class=\"bnva cl\">\r\n                <div class=\"z\">\r\n                    <span>您的位置：</span> <a href=\"portal.php\">网站首页</a> <em>?</em>公司新闻</div>\r\n            </div>\r\n            <!--[diy=listcontenttop]-->\r\n            <div class=\"area\" id=\"listcontenttop\">\r\n            </div>\r\n            <!--[/diy]-->\r\n            <div class=\"c_bm cl\">\r\n                <ul class=\"c_title\">\r\n                    ");	int ind = 0;
	
	int sq = 0;
	

	int topic__loop__id=0;
	foreach(TopicInfo topic in topiclist)
	{
		topic__loop__id++;

	 ind = ind+1;
	
	 sq = ind%5;
	

	if (sq==0)
	{

	templateBuilder.Append("\r\n                        <li class=\"cl mb15 \"> \r\n                       ");
	}
	else
	{

	templateBuilder.Append("\r\n                        <li class=\"cl\"> \r\n                       ");
	}	//end if

	templateBuilder.Append("            \r\n                        <h2>\r\n                            <p class=\"y\">\r\n                                <span class=\"xg1\">");	string tpdtime = ForumUtils.ConvertDateTime(topic.Postdatetime);
	
	templateBuilder.Append("\r\n                        ");
	templateBuilder.Append(tpdtime.ToString());
	templateBuilder.Append("</span>\r\n                            </p>\r\n                        ");
	if (pageid<3 && forum.Allowthumbnail==1)
	{


	if (topic.Attachment==2)
	{

	templateBuilder.Append("\r\n                        <span id=\"t_thumbnail_");
	templateBuilder.Append(topic.Tid.ToString().Trim());
	templateBuilder.Append("\" onmouseover=\"showMenu(this.id, 0, 0, 1, 0)\">\r\n                            ");
	if (forum.Applytopictype==1 && forum.Topictypeprefix==1)
	{

	templateBuilder.Append("\r\n                            <em>\r\n                                ");
	if (forum.Viewbytopictype==1 && topic.Topictypename!="")
	{

	templateBuilder.Append("\r\n                                [<a class=\"xi2\" style=\"\" target=\"_blank\" href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append("showforum.aspx?forumid=");
	templateBuilder.Append(forumid.ToString());
	templateBuilder.Append("&typeid=");
	templateBuilder.Append(topic.Typeid.ToString().Trim());
	templateBuilder.Append("\">");
	templateBuilder.Append(topic.Topictypename.ToString().Trim());
	templateBuilder.Append("</a>]\r\n                                ");
	}
	else if (topic.Topictypename!="")
	{

	templateBuilder.Append("\r\n                                [");
	templateBuilder.Append(topic.Topictypename.ToString().Trim());
	templateBuilder.Append("]\r\n                                ");
	}	//end if

	templateBuilder.Append("\r\n                            </em>\r\n                            ");
	}	//end if

	 aspxrewriteurl = Urls.ShowTopicAspxRewrite(topic.Tid,0, DNTRequest.GetInt("typeid", -1));
	

	if (topic.Special==4)
	{

	 aspxrewriteurl = Urls.ShowDebateAspxRewrite(topic.Tid, DNTRequest.GetInt("typeid", -1));
	

	}	//end if

	int ishtmltitle = Topics.GetMagicValue(topic.Magic, MagicType.HtmlTitle);
	

	if (ishtmltitle==1)
	{

	templateBuilder.Append("\r\n                            <a class=\"xi2\" style=\"\" target=\"_blank\" href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append(aspxrewriteurl.ToString());
	if (config.Aspxrewrite!=1)
	{

	templateBuilder.Append("&forumpage=");
	templateBuilder.Append(pageid.ToString());
	}	//end if

	templateBuilder.Append("\">\r\n                                ");
	templateBuilder.Append(Topics.GetHtmlTitle(topic.Tid).ToString().Trim());
	templateBuilder.Append("</a>\r\n                            ");
	}
	else
	{

	templateBuilder.Append("\r\n                            <a class=\"xi2\" style=\"\" target=\"_blank\" onclick=\"atarget(this)\" href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append(aspxrewriteurl.ToString());
	if (config.Aspxrewrite!=1)
	{

	templateBuilder.Append("&forumpage=");
	templateBuilder.Append(pageid.ToString());
	}	//end if

	templateBuilder.Append("\">\r\n                                ");
	templateBuilder.Append(topic.Title.ToString().Trim());
	templateBuilder.Append("</a>\r\n                            ");
	}	//end if


	if (topic.Folder=="new")
	{

	templateBuilder.Append("\r\n                            <img src=\"");
	templateBuilder.Append(imagedir.ToString());
	templateBuilder.Append("/posts_new.gif\" />\r\n                            ");
	}	//end if

	templateBuilder.Append("\r\n                        </span>\r\n                        ");
	}
	else
	{


	if (forum.Applytopictype==1 && forum.Topictypeprefix==1)
	{


	if (forum.Viewbytopictype==1 && topic.Topictypename!="")
	{

	templateBuilder.Append("\r\n                        <em>[<a href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append("showforum.aspx?forumid=");
	templateBuilder.Append(forumid.ToString());
	templateBuilder.Append("&typeid=");
	templateBuilder.Append(topic.Typeid.ToString().Trim());
	templateBuilder.Append("\">");
	templateBuilder.Append(topic.Topictypename.ToString().Trim());
	templateBuilder.Append("</a>]</em>\r\n                        ");
	}
	else if (topic.Topictypename!="")
	{

	templateBuilder.Append("\r\n                        <em>[");
	templateBuilder.Append(topic.Topictypename.ToString().Trim());
	templateBuilder.Append("]</em>\r\n                        ");
	}	//end if


	}	//end if

	 aspxrewriteurl = Urls.ShowTopicAspxRewrite(topic.Tid,0, DNTRequest.GetInt("typeid", -1));
	

	if (topic.Special==4)
	{

	 aspxrewriteurl = Urls.ShowDebateAspxRewrite(topic.Tid, DNTRequest.GetInt("typeid", -1));
	

	}	//end if

	int ishtmltitle = Topics.GetMagicValue(topic.Magic, MagicType.HtmlTitle);
	

	if (ishtmltitle==1)
	{

	templateBuilder.Append("\r\n                        <a class=\"xi2\" style=\"\" target=\"_blank\" href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append(aspxrewriteurl.ToString());
	if (config.Aspxrewrite!=1)
	{

	templateBuilder.Append("&forumpage=");
	templateBuilder.Append(pageid.ToString());
	}	//end if

	templateBuilder.Append("\">\r\n                            ");
	templateBuilder.Append(Topics.GetHtmlTitle(topic.Tid).ToString().Trim());
	templateBuilder.Append("</a>\r\n                        ");
	}
	else
	{

	templateBuilder.Append("\r\n                        <a class=\"xi2\" style=\"\" target=\"_blank\" onclick=\"atarget(this)\" href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append(aspxrewriteurl.ToString());
	if (config.Aspxrewrite!=1)
	{

	templateBuilder.Append("&forumpage=");
	templateBuilder.Append(pageid.ToString());
	}	//end if

	templateBuilder.Append("\">\r\n                            ");
	templateBuilder.Append(topic.Title.ToString().Trim());
	templateBuilder.Append("</a>\r\n                        ");
	}	//end if


	if (topic.Folder=="new")
	{

	templateBuilder.Append("\r\n                        <span class=\"new\">NEW</span>\r\n                        ");
	}	//end if


	}	//end if


	}
	else
	{


	if (forum.Applytopictype==1 && forum.Topictypeprefix==1)
	{


	if (forum.Viewbytopictype==1 && topic.Topictypename!="")
	{

	templateBuilder.Append("\r\n                        <em>[<a class=\"xi2\" style=\"\" target=\"_blank\" href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append("showforum.aspx?forumid=");
	templateBuilder.Append(forumid.ToString());
	templateBuilder.Append("&typeid=");
	templateBuilder.Append(topic.Typeid.ToString().Trim());
	templateBuilder.Append("\">");
	templateBuilder.Append(topic.Topictypename.ToString().Trim());
	templateBuilder.Append("</a>]</em>\r\n                        ");
	}
	else if (topic.Topictypename!="")
	{

	templateBuilder.Append("\r\n                        <em>[");
	templateBuilder.Append(topic.Topictypename.ToString().Trim());
	templateBuilder.Append("]</em>\r\n                        ");
	}	//end if


	}	//end if

	 aspxrewriteurl = Urls.ShowTopicAspxRewrite(topic.Tid,0, DNTRequest.GetInt("typeid", -1));
	

	if (topic.Special==4)
	{

	 aspxrewriteurl = Urls.ShowDebateAspxRewrite(topic.Tid, DNTRequest.GetInt("typeid", -1));
	

	}	//end if

	int ishtmltitle = Topics.GetMagicValue(topic.Magic, MagicType.HtmlTitle);
	

	if (ishtmltitle==1)
	{

	templateBuilder.Append("\r\n                        <a class=\"xi2\" style=\"\" target=\"_blank\" href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append(aspxrewriteurl.ToString());
	if (config.Aspxrewrite!=1)
	{

	templateBuilder.Append("&forumpage=");
	templateBuilder.Append(pageid.ToString());
	}	//end if

	templateBuilder.Append("\">\r\n                            ");
	templateBuilder.Append(Topics.GetHtmlTitle(topic.Tid).ToString().Trim());
	templateBuilder.Append("</a>\r\n                        ");
	}
	else
	{

	templateBuilder.Append("\r\n                        <a class=\"xi2\" style=\"\" target=\"_blank\" onclick=\"atarget(this)\" href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append(aspxrewriteurl.ToString());
	if (config.Aspxrewrite!=1)
	{

	templateBuilder.Append("&forumpage=");
	templateBuilder.Append(pageid.ToString());
	}	//end if

	templateBuilder.Append("\">\r\n                            ");
	templateBuilder.Append(topic.Title.ToString().Trim());
	templateBuilder.Append("</a>\r\n                        ");
	}	//end if


	}	//end if

	templateBuilder.Append("\r\n                       \r\n                        </h2>\r\n                    </li>                    \r\n                    ");
	}	//end loop

	templateBuilder.Append("\r\n                </ul>\r\n                <!--[diy=listloopbottom]-->\r\n                <div class=\"area\" id=\"listloopbottom\">\r\n                </div>\r\n                <!--[/diy]-->\r\n            </div>\r\n            \r\n            <div class=\"pages_btns cl\">\r\n    <div class=\"pages\">\r\n        <cite class=\"pageback z\" id=\"visitedforums\" ");
	if (showvisitedforumsmenu)
	{

	templateBuilder.Append(" onmouseover=\"$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id, 'pos':'34'});\"\r\n            ");
	}	//end if

	templateBuilder.Append("><a href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append("\">返回</a></cite>\r\n        ");
	if (pagecount!=1)
	{

	templateBuilder.Append("\r\n        ");
	templateBuilder.Append(pagenumbers.ToString());
	templateBuilder.Append("\r\n        ");
	if (pagecount>8)
	{

	templateBuilder.Append("\r\n        <kbd>\r\n            <input name=\"gopage\" type=\"text\" class=\"txt\" id=\"pageidinput2\" title=\"可以输入页码按回车键自动跳转\"\r\n                value=\"");
	templateBuilder.Append(pageid.ToString());
	templateBuilder.Append("\" style=\"text-align: center;\" onfocus=\"this.value=this.defaultValue;this.select();\"\r\n                onkeydown=\"pageinputOnKeyDown(this,event);\" size=\"2\" maxlength=\"9\" />/ ");
	templateBuilder.Append(pagecount.ToString());
	templateBuilder.Append("</kbd>\r\n        ");
	}	//end if

	templateBuilder.Append("\r\n        ");
	templateBuilder.Append(nextpage.ToString());
	templateBuilder.Append("\r\n        ");
	}	//end if

	templateBuilder.Append("\r\n    </div>\r\n    ");
	if (userid<0||canposttopic)
	{

	string newtopicurl = "";
	

	if (forum.Allowspecialonly<=0)
	{

	 newtopicurl = forumpath + "posttopic.aspx?forumid=" + forum.Fid + "&forumpage=" + pageid;
	

	}
	else if (1==(forum.Allowpostspecial&1)&&usergroupinfo.Allowpostpoll==1)
	{

	 newtopicurl = forumpath + "posttopic.aspx?forumid=" + forum.Fid + "&type=poll&forumpage=" + pageid;
	

	}
	else if (4==(forum.Allowpostspecial&4)&&usergroupinfo.Allowbonus==1)
	{

	 newtopicurl = forumpath + "posttopic.aspx?forumid=" + forum.Fid + "&type=bonus&forumpage=" + pageid;
	

	}
	else if (16==(forum.Allowpostspecial&16)&&usergroupinfo.Allowdebate==1)
	{

	 newtopicurl = forumpath + "posttopic.aspx?forumid=" + forum.Fid + "&type=debate&forumpage=" + pageid;
	

	}	//end if

	string newtopiconclick = "";
	

	if (forum.Allowspecialonly<=0&&canposttopic)
	{

	 newtopiconclick = "showWindow('newthread', '" + forumpath + "showforum.aspx?forumid=" + forum.Fid + "')";
	

	}	//end if

	bool allowpost = userid<=0&&(forum.Postperm==""?usergroupinfo.Allowpost==0:!Utils.InArray(usergroupid.ToString(),forum.Postperm));
	

	if (allowpost)
	{

	 newtopiconclick = "showWindow('login', '" + forumpath + "login.aspx');hideWindow('register');";
	

	}
	else
	{

	 newtopiconclick = "showWindow('newthread', '" + forumpath + "showforum.aspx?forumid=" + forum.Fid + "')";
	

	}	//end if


	if (userid==1)
	{

	templateBuilder.Append(" \r\n    <span ");
	if (userid==1)
	{

	templateBuilder.Append(" onmouseover=\"if($('newspecial2_menu')!=null&&$('newspecial_menu').childNodes.length>0)  showMenu(this.id);\"\r\n        ");
	}	//end if

	templateBuilder.Append(" id=\"newspecial2\"><a title=\"发新话题\" id=\"newtopic2\" href=\"");
	templateBuilder.Append(newtopicurl.ToString());
	templateBuilder.Append("\" onclick=\"");
	templateBuilder.Append(newtopiconclick.ToString());
	templateBuilder.Append("\">\r\n            <img alt=\"发新话题\" src=\"");
	templateBuilder.Append(imagedir.ToString());
	templateBuilder.Append("/newtopic.png\" style=\"display: inline\" /></a>\r\n    </span>\r\n    ");
	}	//end if


	}	//end if

	templateBuilder.Append("\r\n</div>\r\n\r\n            <!--[diy=diycontentbottom]-->\r\n            <div class=\"area\" id=\"diycontentbottom\">\r\n            </div>\r\n            <!--[/diy]-->\r\n        </div>\r\n        <div class=\"wp mtn\">\r\n            <!--[diy=diy3]-->\r\n            <div class=\"area\" id=\"diy3\">\r\n            </div>\r\n            <!--[/diy]-->\r\n        </div>\r\n    </div>\r\n</div>\r\n");

	if (infloat!=1)
	{


	if (pagename=="website.aspx")
	{

	templateBuilder.Append("    \r\n       <div id=\"websitebottomad\"></div>\r\n");
	}
	else if (footerad!="")
	{

	templateBuilder.Append(" \r\n     <div id=\"ad_footerbanner\">");
	templateBuilder.Append(footerad.ToString());
	templateBuilder.Append("</div>   \r\n");
	}	//end if

	templateBuilder.Append("\r\n\r\n<a id=\"scrolltop\" href=\"javascript:;\" style=\"display:none;\" class=\"scrolltop\" onclick=\"setScrollToTop(this.id);\">TOP</a>\r\n<ul id=\"usercenter_menu\" class=\"p_pop\" style=\"display:none;\">\r\n    <li><a href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append("usercpprofile.aspx?action=avatar\">设置头像</a></li>\r\n    <li><a href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append("usercpprofile.aspx\">个人资料</a></li>\r\n    <li><a href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append("usercpnewpassword.aspx\">更改密码</a></li>\r\n    <li><a href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append("usercp.aspx\">用户组</a></li>\r\n    <li><a href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append("usercpsubscribe.aspx\">收藏夹</a></li>\r\n    <li><a href=\"");
	templateBuilder.Append(forumpath.ToString());
	templateBuilder.Append("usercpcreditspay.aspx\">积分</a></li>\r\n</ul>\r\n\r\n");
	int prentid__loop__id=0;
	foreach(string prentid in mainnavigationhassub)
	{
		prentid__loop__id++;

	templateBuilder.Append("\r\n<ul class=\"p_pop\" id=\"menu_");
	templateBuilder.Append(prentid.ToString());
	templateBuilder.Append("_menu\" style=\"display: none\">\r\n");
	int subnav__loop__id=0;
	foreach(DataRow subnav in subnavigation.Rows)
	{
		subnav__loop__id++;

	bool isoutput = false;
	

	if (subnav["parentid"].ToString().Trim()==prentid)
	{


	if (subnav["level"].ToString().Trim()=="0")
	{

	 isoutput = true;
	

	}
	else
	{


	if (subnav["level"].ToString().Trim()=="1" && userid!=-1)
	{

	 isoutput = true;
	

	}
	else
	{

	bool leveluseradmindi = true;
	
	 leveluseradmindi = (useradminid==3 || useradminid==1 || useradminid==2);
	

	if (subnav["level"].ToString().Trim()=="2" &&  leveluseradmindi)
	{

	 isoutput = true;
	

	}	//end if


	if (subnav["level"].ToString().Trim()=="3" && useradminid==1)
	{

	 isoutput = true;
	

	}	//end if


	}	//end if


	}	//end if


	}	//end if


	if (isoutput)
	{


	if (subnav["id"].ToString().Trim()=="11" || subnav["id"].ToString().Trim()=="12")
	{


	if (config.Statstatus==1)
	{

	templateBuilder.Append("\r\n	" + subnav["nav"].ToString().Trim() + "\r\n        ");	continue;


	}
	else
	{

	continue;


	}	//end if


	}	//end if


	if (subnav["id"].ToString().Trim()=="18")
	{


	if (config.Oltimespan>0)
	{

	templateBuilder.Append("\r\n    " + subnav["nav"].ToString().Trim() + "\r\n	");	continue;


	}
	else
	{

	continue;


	}	//end if


	}	//end if


	if (subnav["id"].ToString().Trim()=="24")
	{


	if (config.Enablespace==1)
	{

	templateBuilder.Append("\r\n    " + subnav["nav"].ToString().Trim() + "\r\n 	");	continue;


	}
	else
	{

	continue;


	}	//end if


	}	//end if


	if (subnav["id"].ToString().Trim()=="25")
	{


	if (config.Enablealbum==1)
	{

	templateBuilder.Append("\r\n    " + subnav["nav"].ToString().Trim() + "\r\n 	");	continue;


	}
	else
	{

	continue;


	}	//end if


	}	//end if


	if (subnav["id"].ToString().Trim()=="26")
	{


	if (config.Enablemall>=1)
	{

	templateBuilder.Append("\r\n    " + subnav["nav"].ToString().Trim() + "\r\n   	");	continue;


	}
	else
	{

	continue;


	}	//end if


	}	//end if

	templateBuilder.Append("\r\n    " + subnav["nav"].ToString().Trim() + "\r\n");
	}	//end if


	}	//end loop

	templateBuilder.Append("\r\n</ul>\r\n");
	}	//end loop


	if (config.Stylejump==1)
	{


	if (userid!=-1 || config.Guestcachepagetimeout<=0)
	{

	templateBuilder.Append("\r\n	<ul id=\"styleswitcher_menu\" class=\"popupmenu_popup s_clear\" style=\"display: none;\">\r\n	");
	templateBuilder.Append(templatelistboxoptions.ToString());
	templateBuilder.Append("\r\n	</ul>\r\n	");
	}	//end if


	}	//end if




	templateBuilder.Append("  <!-- 底部导航 -->\r\n    <div class=\"index_link cl\">\r\n        <div class=\"index_wp\">\r\n            <div class=\"web_2 web_1 web_info\">\r\n                <h2 class=\"foot_h2\">\r\n                    联系我们</h2>\r\n                <div class=\"link_a\">\r\n                    <p class=\"home\">\r\n                        北京市丰台区中核路时代财富天地大厦8层888室</p>\r\n                    <p class=\"telephone\">\r\n                        (86-888)8888888</p>\r\n                    <p class=\"mobile\">\r\n                        1588888888</p>\r\n                    <p class=\"email\">\r\n                        email@email.com</p>\r\n                </div>\r\n            </div>\r\n            <div class=\"web_2 padd_left\">\r\n                <h2 class=\"foot_h2\">\r\n                    网站导航</h2>\r\n                <div class=\"link_a\">\r\n                    <a class=\"link_a1\" href=\"http://www.jeavi.name/dome/pavo/about\">公司介绍</a><a href=\"http://www.jeavi.name/dome/pavo/about\">公司介绍</a><a\r\n                        href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=9\">企业文化</a><a\r\n                            href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=10\">管理团队</a><a\r\n                                href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=11\">联系我们</a></div>\r\n                <div class=\"link_a\">\r\n                    <a class=\"link_a1\" href=\"http://www.jeavi.name/dome/pavo/news\">公司新闻</a><a href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=2\">新闻动态</a><a\r\n                        href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=3\">发展历程</a><a\r\n                            href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=4\">职位招聘</a><a\r\n                                href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=18\">公司活动</a></div>\r\n                <div class=\"link_a\">\r\n                    <a class=\"link_a1\" href=\"http://www.jeavi.name/dome/pavo/product\">产品中心</a><a href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=13\"\r\n                        target=\"_blank\">数码相机</a><a href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=14\"\r\n                            target=\"_blank\">平板电脑</a><a href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=15\"\r\n                                target=\"_blank\">笔记本</a><a href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=16\"\r\n                                    target=\"_blank\">显示器</a><a href=\"http://www.jeavi.name/dome/pavo/portal.php?mod=list&amp;catid=17\"\r\n                                        target=\"_blank\">数码音响</a></div>\r\n                <div class=\"clear\">\r\n                </div>\r\n            </div>\r\n            <div class=\"web_2 web_1 padd_left brn\">\r\n                <h2 class=\"foot_h2\">\r\n                    论坛</h2>\r\n                <div class=\"link_a\">\r\n                    <a class=\"link_a1\" href=\"http://www.jeavi.name/dome/pavo/forum.php\">会员专区</a><a href=\"http://www.jeavi.name/dome/pavo/forum.php?mod=forumdisplay&amp;fid=51\">谈论专区</a><a\r\n                        href=\"http://www.jeavi.name/dome/pavo/forum.php?mod=forumdisplay&amp;fid=50\">社区活动</a><a\r\n                            href=\"http://www.jeavi.name/dome/pavo/forum.php?mod=forumdisplay&amp;fid=53\">投诉建议</a><a\r\n                                href=\"http://www.jeavi.name/dome/pavo/forum.php?mod=forumdisplay&amp;fid=52\">员工天地</a><a\r\n                                    href=\"http://www.jeavi.name/dome/pavo/forum.php?mod=forumdisplay&amp;fid=47\">旅游生活</a></div>\r\n            </div>\r\n            <div class=\"clear\">\r\n            </div>\r\n        </div>\r\n    </div>\r\n    <div id=\"ft\">\r\n        <div class=\"wp cl\">\r\n            <div id=\"flk\">\r\n                <p>\r\n                    <a href=\"");
	templateBuilder.Append(forumurl.ToString());
	templateBuilder.Append("archiver/index.aspx\">Archiver</a><span class=\"pipe\">|</span><a href=\"http://www.DoLine.cn/\" target=\"_blank\">DoLine.</a>&nbsp;\r\n                    <a title=\"防水墙保卫网站远离侵害\" href=\"http://discuz.qq.com/service/security\" target=\"_blank\">\r\n                        <img src=\"./Content/images/security.png\"></a>\r\n                        <a href=\"");
	templateBuilder.Append(config.Weburl.ToString().Trim());
	templateBuilder.Append("\" target=\"_blank\">");
	templateBuilder.Append(config.Webtitle.ToString().Trim());
	templateBuilder.Append("</a> - ");
	templateBuilder.Append(config.Linktext.ToString().Trim());
	templateBuilder.Append(" - <a target=\"_blank\" href=\"");
	templateBuilder.Append(forumurl.ToString());
	templateBuilder.Append("stats.aspx\">统计</a> - ");
	if (config.Sitemapstatus==1)
	{

	templateBuilder.Append("&nbsp;<a href=\"");
	templateBuilder.Append(forumurl.ToString());
	templateBuilder.Append("tools/sitemap.aspx\" target=\"_blank\" title=\"百度论坛收录协议\">Sitemap</a>");
	}	//end if

	templateBuilder.Append("\r\n			");
	templateBuilder.Append(config.Statcode.ToString().Trim());
	templateBuilder.Append(config.Icp.ToString().Trim());
	templateBuilder.Append(" \r\n            ");
	if (config.Debug!=0)
	{

	templateBuilder.Append("\r\n			处理 ");
	templateBuilder.Append(this.Processtime.ToString().Trim());
	templateBuilder.Append("(s)\r\n			");
	if (isguestcachepage==1)
	{

	templateBuilder.Append("\r\n				(Cached).\r\n			");
	}
	else if (querycount>1)
	{

	templateBuilder.Append("\r\n				 , ");
	templateBuilder.Append(querycount.ToString());
	templateBuilder.Append(" 请求.\r\n			");
	}
	else
	{

	templateBuilder.Append("\r\n				 , ");
	templateBuilder.Append(querycount.ToString());
	templateBuilder.Append(" 请求.\r\n			");
	}	//end if


	}	//end if

	templateBuilder.Append("\r\n                        </p>\r\n                <p>本程序基于DiscuzNT开发 Power By <a href=\"http://www.DoLine.cn/\" target=\"_blank\">DoLine.</a>. ");
	templateBuilder.Append(config.Forumcopyright.ToString().Trim());
	templateBuilder.Append(" 版权所有</p></div>\r\n                		\r\n        \r\n        </div>\r\n    </div>\r\n    <div id=\"discuz_tips\" style=\"display: none;\">\r\n    </div>\r\n    <script type=\"text/javascript\">var tipsinfo = '|X3.1|0.6||0||0|7|1392961173||2';</");
	templateBuilder.Append("script>\r\n</body>\r\n</html>\r\n");
	}
	else
	{

	templateBuilder.Append("\r\n]]></root>\r\n");
	}	//end if




	Response.Write(templateBuilder.ToString());
}
</script>
